package com.qdxht.dispenser.http.model;

import com.hjq.http.config.IRequestServer;
import com.hjq.http.model.BodyType;
import com.hjq.http.model.CacheMode;
import com.qdxht.dispenser.base.AppConfig;

public class RequestServer implements IRequestServer {

    @Override
    public String getHost() {
        return "http://" + AppConfig.getHostIp();
    }

    @Override
    public BodyType getBodyType() {
        return BodyType.JSON;
    }

    @Override
    public CacheMode getCacheMode() {
        return CacheMode.NO_CACHE;
    }
}